Skip to content

docs/reference/administration/system-options: add interface option#277

Merged
Meulengracht merged 3 commits intocanonical:mainfrom
Meulengracht:feature/if-auto-disconnection
Apr 17, 2026
Merged

docs/reference/administration/system-options: add interface option#277
Meulengracht merged 3 commits intocanonical:mainfrom
Meulengracht:feature/if-auto-disconnection

Conversation

@Meulengracht
Copy link
Copy Markdown
Member

Introduce documentation for the snapd system option snap set system interface.<if>.allow-auto-connection

@Meulengracht Meulengracht requested a review from degville April 17, 2026 09:04
Copy link
Copy Markdown
Collaborator

@degville degville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! just some superficial suggestions. Thank you!


## system interface

Allows configuring certain behaviour of individual interface rules. For now, the only allowed option is to configure the auto-connection.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Allows configuring certain behaviour of individual interface rules. For now, the only allowed option is to configure the auto-connection.
Permits specific interfaces options to be changed . The only option currently supported is interface [auto-connection](https://snapcraft.io/docs/explanation/interfaces/interface-auto-connection/).

Allows configuring certain behaviour of individual interface rules. For now, the only allowed option is to configure the auto-connection.

- **.allow-auto-connection**: configure auto-connection rules for the interface, options are `{false|true|verified}`.
* `false` or `true` controls whether any auto-connection is allowed at all.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `false` or `true` controls whether any auto-connection is allowed at all.
* `false` or `true` controls whether auto-connections are permitted.

Comment thread docs/reference/administration/system-options.md

Allows configuring certain behaviour of individual interface rules. For now, the only allowed option is to configure the auto-connection.

- **.allow-auto-connection**: configure auto-connection rules for the interface, options are `{false|true|verified}`.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **.allow-auto-connection**: configure auto-connection rules for the interface, options are `{false|true|verified}`.
- **interface.allow-auto-connection**: configure auto-connection rules for the interface, options are `{false|true|verified}`.

(we've used this pattern elsewhere as the dot is easily missed)

Copy link
Copy Markdown
Member Author

@Meulengracht Meulengracht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@degville thank you for all your comments! I've updated the PR

@Meulengracht Meulengracht requested a review from degville April 17, 2026 10:30
@degville
Copy link
Copy Markdown
Collaborator

Ace, thanks!

@Meulengracht Meulengracht merged commit fda816c into canonical:main Apr 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants